import request from '@/utils/request'

// 查询课程完整上课时间列表
export function listClassScheduleDetailed(query) {
  return request({
    url: '/trainingManagement/classScheduleDetailed/list',
    method: 'get',
    params: query
  })
}

// 查询课程完整上课时间详细
export function getClassScheduleDetailed(id) {
  return request({
    url: '/trainingManagement/classScheduleDetailed/' + id,
    method: 'get'
  })
}

// 新增课程完整上课时间
export function addClassScheduleDetailed(data) {
  return request({
    url: '/trainingManagement/classScheduleDetailed',
    method: 'post',
    data: data
  })
}

// 修改课程完整上课时间
export function updateClassScheduleDetailed(data) {
  return request({
    url: '/trainingManagement/classScheduleDetailed',
    method: 'put',
    data: data
  })
}

// 删除课程完整上课时间
export function delClassScheduleDetailed(id) {
  return request({
    url: '/trainingManagement/classScheduleDetailed/' + id,
    method: 'delete'
  })
}